//退出系统
function exitSystem()
{
    var left=(document.body.clientWidth)/1.6; 
	var top_height=($(document).scrollTop()+document.body.clientWidth)/4
	var scroll_Height=document.body.scrollHeight+100;
	if($('#confirm_bg').length>0){
		$('#confirm_bg').css({'display':'block'});
	}
	if($('#confirm_box').length>0){
		$('#confirm_box').css({'top':top_height,'left':left});
		$('#confirm_box').slideToggle("slow");
	}
}
function confirmExitSystem()
{
	close_confirm_box();
	loading3("正在退出");
	setTimeout(function(){
		document.getElementById("logoutForm").action="logoutSystem";
		document.getElementById("logoutForm").submit();
	},3000);
}
function close_confirm_box(){
	if($('#confirm_bg').length>0){
		$('#confirm_bg').css({'display':'none'});
	}
	if($('#confirm_box').length>0){
		$('#confirm_box').css({'display':'none'});
	}
}
function closeLog(){
	window.parent.location.href="./login!closeLog.action";
}